package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.math.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-10-22 
 */

@TableName("compensation")
public class Compensation {

	/**
	 * ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 买家ID
	 */
	private Long buyerId;

	/**
	 * 原始订单ID
	 */
	private Integer originalOrderId;

	/**
	 * 原始订单编号
	 */
	private String originalOrderNo;

	/**
	 * 补偿售后编号
	 */
	private String compensationOrderNo;

	/**
	 * 补偿商品ID
	 */
	private Integer compensationGoodsId;

	/**
	 * 补偿金额
	 */
	private BigDecimal compensationPrice;

	/**
	 * 补偿备注
	 */
	private String compensationRemark;

	/**
	 * 补偿发起人ID
	 */
	private Long compensationPromoterId;

	/**
	 * 补偿发起人姓名
	 */
	private String compensationPromoterName;

	/**
	 * 售后类型: 0-弃货退款 1-补偿款 2-补偿邮费
	 */
	private Byte afterSaleType;

	/**
	 * 补偿邮费类型: 1-退货退款 2-换货
	 */
	private Byte postageType;

	/**
	 * 审核状态: 0-待审核 1-已同意 2-已拒绝
	 */
	private Byte checkStatus;

	/**
	 * 审核备注
	 */
	private String checkRemark;

	/**
	 * 审核操作人ID
	 */
	private Long checkOperatorId;

	/**
	 * 审核操作人姓名
	 */
	private String checkOperatorName;

	/**
	 * 审核时间
	 */
	private Date checkTime;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 是否删除: 0-否 1-是
	 */
	private Byte delFlag;

	/**
	 * 退货ID
	 */
	private Integer refundId;

	/**
	 * 退货订单编号
	 */
	private String refundOrderNo;

	/**
	 * 补偿邮费-表单提交参数信息
	 */
	private String parameters;

	/**
	 * 补偿邮费-支付宝-支付返回结果信息
	 */
	private String payMsg;

	/**
	 * 补偿邮费-支付宝-支付返回状态码
	 */
	private String payCode;

	/**
	 * 补偿邮费-支付宝-支付时间
	 */
	private Date payTime;

	/**
	 * 补偿邮费-支付宝-支付状态 0-未支付 1-支付成功 2-支付失败
	 */
	private Byte payStatus;

	/**
	 * 补偿邮费-收款方真实姓名
	 */
	private String payeeRealName;

	/**
	 * 补偿邮费-支付宝登录号，支持邮箱和手机号格式
	 */
	private String payeeAccount;

	/**
	 * 是否锁定: 0-否 1-是
	 */
	private Byte lockFlag;

	/**
	 * 订单下单时间
	 */
	private Date orderCreateTime;

	/**
	 * 自营标识: 0-非自营 1-自营
	 */
	private Byte selfFlag;

	/**
	 * 供应商ID【非自营】、仓库ID【自营】
	 */
	private Integer supplierId;

	/**
	 * 订单商品名称
	 */
	private String goodsName;

	/**
	 * 订单商品图片
	 */
	private String goodsPic;

	/**
	 * 订单支付单号
	 */
	private String orderPayNo;

	/**
	 * 订单第三方支付单号
	 */
	private String orderThirdPartyPaySn;

	/**
	 * 订单支付类型：0-未支付 1-支付宝支付 2-微信支付 3-余额支付 4-聚合支付
	 */
	private Byte orderPayType;

	/**
	 * 收货人手机号
	 */
	private String receiverPhone;

	/**
	 * 购买人手机号
	 */
	private String buyerPhone;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Long getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public Integer getOriginalOrderId() {
		return originalOrderId;
	}

	public void setOriginalOrderId(Integer originalOrderId) {
		this.originalOrderId = originalOrderId;
	}

	public String getOriginalOrderNo() {
		return originalOrderNo;
	}

	public void setOriginalOrderNo(String originalOrderNo) {
		this.originalOrderNo = originalOrderNo;
	}

	public String getCompensationOrderNo() {
		return compensationOrderNo;
	}

	public void setCompensationOrderNo(String compensationOrderNo) {
		this.compensationOrderNo = compensationOrderNo;
	}

	public Integer getCompensationGoodsId() {
		return compensationGoodsId;
	}

	public void setCompensationGoodsId(Integer compensationGoodsId) {
		this.compensationGoodsId = compensationGoodsId;
	}

	public BigDecimal getCompensationPrice() {
		return compensationPrice;
	}

	public void setCompensationPrice(BigDecimal compensationPrice) {
		this.compensationPrice = compensationPrice;
	}

	public String getCompensationRemark() {
		return compensationRemark;
	}

	public void setCompensationRemark(String compensationRemark) {
		this.compensationRemark = compensationRemark;
	}

	public Long getCompensationPromoterId() {
		return compensationPromoterId;
	}

	public void setCompensationPromoterId(Long compensationPromoterId) {
		this.compensationPromoterId = compensationPromoterId;
	}

	public String getCompensationPromoterName() {
		return compensationPromoterName;
	}

	public void setCompensationPromoterName(String compensationPromoterName) {
		this.compensationPromoterName = compensationPromoterName;
	}

	public Byte getAfterSaleType() {
		return afterSaleType;
	}

	public void setAfterSaleType(Byte afterSaleType) {
		this.afterSaleType = afterSaleType;
	}

	public Byte getPostageType() {
		return postageType;
	}

	public void setPostageType(Byte postageType) {
		this.postageType = postageType;
	}

	public Byte getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(Byte checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getCheckRemark() {
		return checkRemark;
	}

	public void setCheckRemark(String checkRemark) {
		this.checkRemark = checkRemark;
	}

	public Long getCheckOperatorId() {
		return checkOperatorId;
	}

	public void setCheckOperatorId(Long checkOperatorId) {
		this.checkOperatorId = checkOperatorId;
	}

	public String getCheckOperatorName() {
		return checkOperatorName;
	}

	public void setCheckOperatorName(String checkOperatorName) {
		this.checkOperatorName = checkOperatorName;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getRefundId() {
		return refundId;
	}

	public void setRefundId(Integer refundId) {
		this.refundId = refundId;
	}

	public String getRefundOrderNo() {
		return refundOrderNo;
	}

	public void setRefundOrderNo(String refundOrderNo) {
		this.refundOrderNo = refundOrderNo;
	}

	public String getParameters() {
		return parameters;
	}

	public void setParameters(String parameters) {
		this.parameters = parameters;
	}

	public String getPayMsg() {
		return payMsg;
	}

	public void setPayMsg(String payMsg) {
		this.payMsg = payMsg;
	}

	public String getPayCode() {
		return payCode;
	}

	public void setPayCode(String payCode) {
		this.payCode = payCode;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Byte getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Byte payStatus) {
		this.payStatus = payStatus;
	}

	public String getPayeeRealName() {
		return payeeRealName;
	}

	public void setPayeeRealName(String payeeRealName) {
		this.payeeRealName = payeeRealName;
	}

	public String getPayeeAccount() {
		return payeeAccount;
	}

	public void setPayeeAccount(String payeeAccount) {
		this.payeeAccount = payeeAccount;
	}

	public Byte getLockFlag() {
		return lockFlag;
	}

	public void setLockFlag(Byte lockFlag) {
		this.lockFlag = lockFlag;
	}

	public Date getOrderCreateTime() {
		return orderCreateTime;
	}

	public void setOrderCreateTime(Date orderCreateTime) {
		this.orderCreateTime = orderCreateTime;
	}

	public Byte getSelfFlag() {
		return selfFlag;
	}

	public void setSelfFlag(Byte selfFlag) {
		this.selfFlag = selfFlag;
	}

	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsPic() {
		return goodsPic;
	}

	public void setGoodsPic(String goodsPic) {
		this.goodsPic = goodsPic;
	}

	public String getOrderPayNo() {
		return orderPayNo;
	}

	public void setOrderPayNo(String orderPayNo) {
		this.orderPayNo = orderPayNo;
	}

	public String getOrderThirdPartyPaySn() {
		return orderThirdPartyPaySn;
	}

	public void setOrderThirdPartyPaySn(String orderThirdPartyPaySn) {
		this.orderThirdPartyPaySn = orderThirdPartyPaySn;
	}

	public Byte getOrderPayType() {
		return orderPayType;
	}

	public void setOrderPayType(Byte orderPayType) {
		this.orderPayType = orderPayType;
	}

	public String getReceiverPhone() {
		return receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	public String getBuyerPhone() {
		return buyerPhone;
	}

	public void setBuyerPhone(String buyerPhone) {
		this.buyerPhone = buyerPhone;
	}
}
